﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp11
{
    class BatMobile:Car,IFly
    {
        public BatMobile(string brand, string type) : base(brand, type) { 
        
        }
        public void Fly()
        {
            Console.WriteLine("一辆品牌是{0}，型号是{1}的车子在飞行。", this.Brand, this.Type);
        }
    }
}
